package com.rongke.mapper;

import com.rongke.model.MonthSaleReport;
import com.rongke.model.Statistics;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @StatisticsMapper
 * @Mapper
 * @version : Ver 1.0
 */
public interface StatisticsMapper extends BaseMapper<Statistics>{

    List<Statistics>  selectByCondition(Statistics statistics);

    List<MonthSaleReport> getMonthSaleReport(Map condition);

    List<MonthSaleReport> getMonthCitySaleReport(Map condition);

    List<MonthSaleReport> getMonthCitySaleRateReport(Map condition);
}
